[INFO] fetching crate bitflags12 1.2.2...
[INFO] testing bitflags12-1.2.2 against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] extracting crate bitflags12 1.2.2 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate bitflags12 1.2.2
[INFO] finished tweaking crates.io crate bitflags12 1.2.2
[INFO] tweaked toml for crates.io crate bitflags12 1.2.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate bitflags12 1.2.2 on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `bitflags12` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6c11a0e90721f630c5382fafcde35ae948519721505dce5d726970b51f88e418
[INFO] running `Command { std: "docker" "start" "-a" "6c11a0e90721f630c5382fafcde35ae948519721505dce5d726970b51f88e418", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6c11a0e90721f630c5382fafcde35ae948519721505dce5d726970b51f88e418", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c11a0e90721f630c5382fafcde35ae948519721505dce5d726970b51f88e418", kill_on_drop: false }`
[INFO] [stdout] 6c11a0e90721f630c5382fafcde35ae948519721505dce5d726970b51f88e418
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ddbb76c6d384412caa10e475585c52e546df0b99da2fba4a7a9823c5cad14f80
[INFO] running `Command { std: "docker" "start" "-a" "ddbb76c6d384412caa10e475585c52e546df0b99da2fba4a7a9823c5cad14f80", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `bitflags12` (manifest) generated 1 warning
[INFO] [stderr]    Compiling bitflags12 v1.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stdout]    --> src/lib.rs:424:7
[INFO] [stdout]     |
[INFO] [stdout] 424 | #[cfg(bitflags_const_fn)]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bitflags_const_fn)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stdout]    --> src/lib.rs:451:11
[INFO] [stdout]     |
[INFO] [stdout] 451 | #[cfg(not(bitflags_const_fn))]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bitflags_const_fn)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.59s
[INFO] running `Command { std: "docker" "inspect" "ddbb76c6d384412caa10e475585c52e546df0b99da2fba4a7a9823c5cad14f80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ddbb76c6d384412caa10e475585c52e546df0b99da2fba4a7a9823c5cad14f80", kill_on_drop: false }`
[INFO] [stdout] ddbb76c6d384412caa10e475585c52e546df0b99da2fba4a7a9823c5cad14f80
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e291544ecd3a2ff89554f9d93b40fbeec799b6e5d566c1f24cbe936417eeff5e
[INFO] running `Command { std: "docker" "start" "-a" "e291544ecd3a2ff89554f9d93b40fbeec799b6e5d566c1f24cbe936417eeff5e", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `bitflags12` (manifest) generated 1 warning
[INFO] [stdout] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stdout]    --> src/lib.rs:424:7
[INFO] [stdout]     |
[INFO] [stdout] 424 | #[cfg(bitflags_const_fn)]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bitflags_const_fn)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stdout]    --> src/lib.rs:451:11
[INFO] [stdout]     |
[INFO] [stdout] 451 | #[cfg(not(bitflags_const_fn))]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bitflags_const_fn)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling bitflags12 v1.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stdout]    --> src/lib.rs:424:7
[INFO] [stdout]     |
[INFO] [stdout] 424 | #[cfg(bitflags_const_fn)]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bitflags_const_fn)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stdout]    --> src/lib.rs:451:11
[INFO] [stdout]     |
[INFO] [stdout] 451 | #[cfg(not(bitflags_const_fn))]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bitflags_const_fn)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stdout]     --> src/lib.rs:1172:11
[INFO] [stdout]      |
[INFO] [stdout] 1172 |     #[cfg(bitflags_const_fn)]
[INFO] [stdout]      |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider using a Cargo feature instead
[INFO] [stdout]      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]               [lints.rust]
[INFO] [stdout]               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bitflags_const_fn)'] }
[INFO] [stdout]      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stdout]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `foo`
[INFO] [stdout]     --> src/lib.rs:1341:23
[INFO] [stdout]      |
[INFO] [stdout] 1341 |                 #[cfg(foo)]
[INFO] [stdout]      |                       ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider using a Cargo feature instead
[INFO] [stdout]      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]               [lints.rust]
[INFO] [stdout]               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(foo)'] }
[INFO] [stdout]      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(foo)");` to the top of the `build.rs`
[INFO] [stdout]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `foo`
[INFO] [stdout]     --> src/lib.rs:1343:23
[INFO] [stdout]      |
[INFO] [stdout] 1343 |                 #[cfg(foo)]
[INFO] [stdout]      |                       ^^^
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider using a Cargo feature instead
[INFO] [stdout]      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]               [lints.rust]
[INFO] [stdout]               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(foo)'] }
[INFO] [stdout]      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(foo)");` to the top of the `build.rs`
[INFO] [stdout]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.78s
[INFO] running `Command { std: "docker" "inspect" "e291544ecd3a2ff89554f9d93b40fbeec799b6e5d566c1f24cbe936417eeff5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e291544ecd3a2ff89554f9d93b40fbeec799b6e5d566c1f24cbe936417eeff5e", kill_on_drop: false }`
[INFO] [stdout] e291544ecd3a2ff89554f9d93b40fbeec799b6e5d566c1f24cbe936417eeff5e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] cca3f7e378f13097e2c2ec1db049690ad0e34cddc91fc3fd58ee05fce1e9a782
[INFO] running `Command { std: "docker" "start" "-a" "cca3f7e378f13097e2c2ec1db049690ad0e34cddc91fc3fd58ee05fce1e9a782", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `bitflags12` (manifest) generated 1 warning
[INFO] [stderr] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stderr]    --> src/lib.rs:424:7
[INFO] [stderr]     |
[INFO] [stderr] 424 | #[cfg(bitflags_const_fn)]
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stderr]     = help: consider using a Cargo feature instead
[INFO] [stderr]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]              [lints.rust]
[INFO] [stderr]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bitflags_const_fn)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stderr]    --> src/lib.rs:451:11
[INFO] [stderr]     |
[INFO] [stderr] 451 | #[cfg(not(bitflags_const_fn))]
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead
[INFO] [stderr]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]              [lints.rust]
[INFO] [stderr]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bitflags_const_fn)'] }
[INFO] [stderr]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: `bitflags12` (lib) generated 2 warnings
[INFO] [stderr] warning: unexpected `cfg` condition name: `bitflags_const_fn`
[INFO] [stderr]     --> src/lib.rs:1172:11
[INFO] [stderr]      |
[INFO] [stderr] 1172 |     #[cfg(bitflags_const_fn)]
[INFO] [stderr]      |           ^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = help: consider using a Cargo feature instead
[INFO] [stderr]      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]               [lints.rust]
[INFO] [stderr]               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bitflags_const_fn)'] }
[INFO] [stderr]      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bitflags_const_fn)");` to the top of the `build.rs`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `foo`
[INFO] [stderr]     --> src/lib.rs:1341:23
[INFO] [stderr]      |
[INFO] [stderr] 1341 |                 #[cfg(foo)]
[INFO] [stderr]      |                       ^^^
[INFO] [stderr]      |
[INFO] [stderr]      = help: consider using a Cargo feature instead
[INFO] [stderr]      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]               [lints.rust]
[INFO] [stderr]               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(foo)'] }
[INFO] [stderr]      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(foo)");` to the top of the `build.rs`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `foo`
[INFO] [stderr]     --> src/lib.rs:1343:23
[INFO] [stderr]      |
[INFO] [stderr] 1343 |                 #[cfg(foo)]
[INFO] [stderr]      |                       ^^^
[INFO] [stderr]      |
[INFO] [stderr]      = help: consider using a Cargo feature instead
[INFO] [stderr]      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]               [lints.rust]
[INFO] [stderr]               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(foo)'] }
[INFO] [stderr]      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(foo)");` to the top of the `build.rs`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: `bitflags12` (lib test) generated 5 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bitflags12-e825dbfd5f81aa1c)
[INFO] [stdout] 
[INFO] [stdout] running 35 tests
[INFO] [stdout] test tests::submodule::test_private ... ok
[INFO] [stdout] test tests::test_binary ... ok
[INFO] [stdout] test tests::test_assignment_operators ... ok
[INFO] [stdout] test tests::test_deprecated ... ok
[INFO] [stdout] test tests::test_const_fn ... ok
[INFO] [stdout] test tests::test_contains ... ok
[INFO] [stdout] test tests::test_bits ... ok
[INFO] [stdout] test tests::test_disjoint_intersects ... ok
[INFO] [stdout] test tests::test_extend ... ok
[INFO] [stdout] test tests::test_from_bits ... ok
[INFO] [stdout] test tests::test_from_bits_truncate ... ok
[INFO] [stdout] test tests::test_from_bits_unchecked ... ok
[INFO] [stdout] test tests::test_from_iterator ... ok
[INFO] [stdout] test tests::test_empty_does_not_intersect_with_full ... ok
[INFO] [stdout] test tests::test_insert ... ok
[INFO] [stdout] test tests::test_in_function ... ok
[INFO] [stdout] test tests::test_is_all ... ok
[INFO] [stdout] test tests::test_hash ... ok
[INFO] [stdout] test tests::test_is_empty ... ok
[INFO] [stdout] test tests::test_octal ... ok
[INFO] [stdout] test tests::test_operators ... ok
[INFO] [stdout] test tests::test_lowerhex ... ok
[INFO] [stdout] test tests::test_lt ... ok
[INFO] [stdout] test tests::test_operators_unchecked ... ok
[INFO] [stdout] test tests::test_ord ... ok
[INFO] [stdout] test tests::test_set ... ok
[INFO] [stdout] test tests::test_overlapping_intersects ... ok
[INFO] [stdout] test tests::test_two_empties_do_not_intersect ... ok
[INFO] [stdout] test tests::test_pub_crate ... ok
[INFO] [stdout] test tests::test_upperhex ... ok
[INFO] [stdout] test tests::test_zero_value_flags ... ok
[INFO] [stdout] test tests::test_public ... ok
[INFO] [stdout] test tests::test_remove ... ok
[INFO] [stdout] test tests::test_pub_in_module ... ok
[INFO] [stdout] test tests::test_debug ... ok
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests bitflags12
[INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/lib.rs - (line 91) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 198) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 20) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 227) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflags (line 271) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 176) ... FAILED
[INFO] [stdout] test src/lib.rs - bitflags (line 297) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 49) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 91) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `bitflags`
[INFO] [stdout]   --> src/lib.rs:93:1
[INFO] [stdout]    |
[INFO] [stdout] 93 | extern crate bitflags;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 198) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `bitflags`
[INFO] [stdout]    --> src/lib.rs:200:1
[INFO] [stdout]     |
[INFO] [stdout] 200 | extern crate bitflags;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 20) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `bitflags`
[INFO] [stdout]   --> src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | extern crate bitflags;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 227) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `bitflags`
[INFO] [stdout]    --> src/lib.rs:229:1
[INFO] [stdout]     |
[INFO] [stdout] 229 | extern crate bitflags;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflags (line 271) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `bitflags`
[INFO] [stdout]    --> src/lib.rs:273:1
[INFO] [stdout]     |
[INFO] [stdout] 273 | extern crate bitflags;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 176) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `bitflags`
[INFO] [stdout]    --> src/lib.rs:178:1
[INFO] [stdout]     |
[INFO] [stdout] 178 | extern crate bitflags;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - bitflags (line 297) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `bitflags`
[INFO] [stdout]    --> src/lib.rs:299:1
[INFO] [stdout]     |
[INFO] [stdout] 299 | extern crate bitflags;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 49) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `bitflags`
[INFO] [stdout]   --> src/lib.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | extern crate bitflags;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 176)
[INFO] [stdout]     src/lib.rs - (line 198)
[INFO] [stdout]     src/lib.rs - (line 20)
[INFO] [stdout]     src/lib.rs - (line 227)
[INFO] [stdout]     src/lib.rs - (line 49)
[INFO] [stdout]     src/lib.rs - (line 91)
[INFO] [stdout]     src/lib.rs - bitflags (line 271)
[INFO] [stdout]     src/lib.rs - bitflags (line 297)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "cca3f7e378f13097e2c2ec1db049690ad0e34cddc91fc3fd58ee05fce1e9a782", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cca3f7e378f13097e2c2ec1db049690ad0e34cddc91fc3fd58ee05fce1e9a782", kill_on_drop: false }`
[INFO] [stdout] cca3f7e378f13097e2c2ec1db049690ad0e34cddc91fc3fd58ee05fce1e9a782
